/* 
    Document   : default
    Created on : 3 oct. 2013, 00:13:10
    Author     : Quentin
    Description:
        Purpose of the stylesheet follows.
*/

 
body{
        font: 70% "Arial", sans-serif;
        width:1300px;
        margin: 0 auto;
}
.demoHeaders {
        margin-top: 2em;
}
#dialog-link {
        padding: .4em 1em .4em 20px;
        text-decoration: none;
        position: relative;
}
#dialog-link span.ui-icon {
        margin: 0 5px 0 0;
        position: absolute;
        left: .2em;
        top: 50%;
        margin-top: -8px;
}
#icons {
        margin: 0;
        padding: 0;
}
#icons li {
        margin: 2px;
        position: relative;
        padding: 4px 0;
        cursor: pointer;
        float: left;
        list-style: none;
}
#icons span.ui-icon {
        float: left;
        margin: 0 4px;
}
.fakewindowcontain .ui-widget-overlay {
        position: absolute;
}
label {
    display: inline-block; 
    /*width: 5em;*/
}
fieldset div {
    margin-bottom: 2em;
}
fieldset .help {
    display: inline-block;
}
.ui-tooltip {
    width: 210px;
}
header{
    width:100%;
    height:50px;
}
header #head-cover{
    float:left;
    width:300px;
    height:100%;
}
header #connection{
    margin-top: 10px;
    float:right;
    margin-right: 20px;
}
header #connection form button{
    margin-top: -2px;
    margin-left: 5px;
}
header #connection div button{
    margin-top: 0px;
}
header #connection form label {
    /*width: 6em;*/
    text-align: right;
    margin-left: 10px;
    margin-right: 5px;
}
#tabs{
    float:left;
    width:1020px;
    height:580px;
}
#recent-incidents{
    float:right;
    width:250px;
    height:500px;
}
#tabs-incident-recent{
    overflow-y: auto;
    height:500px;
}
#tabs-incident-recent .incident p{
    margin:0;
}
#tabs-incident-recent .incident .head{
    font-weight: bold;
    text-decoration: underline;
    margin-right: 5px;
}
#tabs-home{
    border-radius: 0;
    width:1000px;
    height:480px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding:0;
    border: 1px solid #6e4f1c;
    overflow-y: scroll;
    padding-bottom: 20px;
}
#tabs-salles{
    border-radius: 0;
    width:1000px;
    height:480px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding:0;
    /*border: 1px solid #6e4f1c;*/
    /*overflow-y: scroll;*/
    padding-bottom: 20px;
}
#tabs-statistiques{
    border-radius: 0;
    width:1000px;
    height:480px;
    margin-left: 20px;
    /*margin-right: 5px;*/
    margin-top: 20px;
    padding:0;
}
#tabs-statistiques div{
    float:left;
    /*margin-left: 5px;*/
}
.recyclebin{
    float:left;
    width: 100px;  
    height: 100px;  
    border: 1px solid #681818;
    margin-left: 20px;
    margin-top: 20px;
    padding:0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;

}
.recyclebin .background{
    width:100%;
    height:75px;
    padding: 0;
    margin:0;
    /*padding-top: px;*/
    background-image: url("../images/recyclebin_empty.png");
    background-size: 75px,100px;
    background-position: center;
    background-repeat: no-repeat;
}
.recyclebin:hover{
    /*background: rgba(200,50,50,1);*/
    cursor: pointer;
}
.recyclebin .name{
    text-align: center;
    margin:0;
    height:20px;
    padding-top: 5px;
    border-bottom: 1px solid #681818;
    background: none;
}
.add-salle{
    float:left;
    width: 100px;  
    height: 100px;  
    border: 1px solid #681818;
    margin-left: 20px;
    margin-top: 20px;
    padding:0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;

}
.add-salle .background{
    width:100%;
    height:75px;
    padding: 0;
    margin:0;
    margin-top: 2px;
    background-image: url("../images/plus.png");
    background-size: 70px,70px;
    background-position: center top;
    background-repeat: no-repeat;
}
.add-salle:hover{
    /*background: rgba(200,50,50,1);*/
    background-color: rgba(200,200,200,200);
    cursor: pointer;
}
.add-salle .name{
    text-align: center;
    margin:0;
    height:20px;
    padding-top: 5px;
    border-bottom: 1px solid #681818;
    background: none;
}


.salle{
  float:left;
  width: 100px;  
  height: 100px;  
  border: 1px solid #681818;
  margin-left: 20px;
  margin-top: 20px;
  padding:0;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.salle:hover{
    background: rgba(200,200,200,200);
    cursor: pointer;
}
.salle.big:hover{
    background: none;
    cursor: auto;
}
.salle .name{
    text-align: center;
    margin:0;
    height:20px;
    padding-top: 5px;
    border-bottom: 1px solid #681818;
    background: none;
}
.salle .nbmachine{
    text-align: center;
    width:100%;
    font-size:0.8em;
    margin:0;
    padding-top: 2px;
    height: 15px;
    border-top: 1px solid #681818;
}
.salle .machines{
    height: 55px;
    background-image: url("../images/salle-small.png");
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: visible;
}
.salle .machines .machine{
    display:none;
}
.salle .machines .add-machine{
    display:none;
}
.salle.big{
    width:344px;
    height:344px;
}
.salle.big .nbmachine{
    display:none;
}
.salle.big .name{
    background-color: rgba(240,240,240,240);
}
.machine{
    display:  inline-block;
    height: 95px;
    width: 95px;
    text-align:center;
    margin:0;
    margin-left: 10px;
    margin-bottom: 10px;
    float:left;
}
.add-machine{
    float:left;
    width: 95px;  
    height: 95px;  
    margin:0;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    padding:0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;

}
.add-machine .background{
    width:100%;
    height:70px;
    padding: 0;
    margin:0;
    margin-top: 2px;
    background-image: url("../images/plus.png");
    background-size: 70px,70px;
    background-position: center top;
    background-repeat: no-repeat;
}
.add-machine:hover{
    /*background: rgba(200,50,50,1);*/
    cursor: pointer;
}
.salle.big .machines.machine{
    display:inline-block;
}
.salle.big .machines .add-machine{
    display:inline-block;
}
.salle.big .machines{
    background: none;
    height:318px;
    width:344px;
    overflow-y: scroll;
    /*overflow-x: hidden;*/
    padding:0;
}
.salle.big .machines .machine{
    display:  inline-block;
    height: 95px;
    width: 95px;
    text-align:center;
    margin:0;
    margin-left: 10px;
    margin-bottom: 10px;
    float:left;
}
.salle.big .machines .machine .background {
    width:95px;
    height:95px;
    margin:0;
    background-image: url("../images/machine.png");
    background-size: 95px,95px;
    background-position: center;
    background-repeat: no-repeat;
}
.salle.big .machines .machine .background div.info{
    width:95px;
    height:85px;
    background-size: 40px, 40px;
    background-position: center;
    background-repeat: no-repeat;   
}
.salle.big .machines .machine .background div.info.ok{
    background-image: url("../images/check.png");
}
.salle.big .machines .machine .background div.info.error{
    background-image: url("../images/cancel.png");
}
.salle.big .machines .machine .background:hover{
    background-image: url("../images/machine-grey.png");
    cursor : pointer;
}
.salle.big .machines .machine .delete{
    float:right;
    position:relative;
    top:5px;
    left:8px;
    width: 20px;
    height: 20px;
    background-image: url("../images/delete.png");
    background-size: 20px, 20px;
    background-position: center;
    background-repeat: no-repeat;   
}
.salle.big .machines .machine .ip{
    margin:0;
    margin-top: -5px;
    padding:0;
    height:10px;
    font-size: 0.8em;
    text-align: center;
}
#tabs-machines{
    border-radius: 0;
    width:1000px;
    height:480px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding:0;
    /*border: 1px solid #6e4f1c;*/
    /*overflow-y: scroll;*/
    padding-bottom: 20px;
}
.table-salle{
    width:100%;
}
.table-salle td{
    border:1px solid #6e4f1c;
}
.table-machine{
    width:100%;
}
.table-machine td{
    border:1px solid #6e4f1c;
}

